misc/bmp085: Enable building as a module
authorBen Hutchings <ben@decadent.org.uk>
Mon, 24 Jun 2013 04:28:00 +0000 (05:28 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 17 Mar 2016 01:25:23 +0000 (01:25 +0000)
Commit 985087dbcb02 'misc: add support for bmp18x chips to the bmp085
driver' changed the BMP085 config symbol to a boolean.  I see no
reason why the shared code cannot be built as a module, so change it
back to tristate.

Cc: Eric Andersson <eric.andersson@unixphere.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name misc-bmp085-Enable-building-as-a-module.patch

drivers/misc/Kconfig

index 22892c701c63b8e650fc7a6323934ca13385382b..4bf7d50b1bc7cc8ccb55171d9ca76ac3bd6fe114 100644 (file)
@@ -439,7 +439,7 @@ config ARM_CHARLCD
          still useful.
 
 config BMP085
-       bool
+       tristate
        depends on SYSFS
 
 config BMP085_I2C